package com.zelin.service;

import com.zelin.dao.ClassesDao;
import com.zelin.pojo.Classes;
import com.zelin.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesService {
    @Autowired
    private ClassesDao classesDao;
    //1. 列表班级
    public List<Classes> findAll() {
        return classesDao.findAll();
    }
}
